package com.example.map;

import java.util.Map;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

@Service("in2")
public class In2 implements Myinterface {
	@Resource(name="exampleMap")
	Map<String,Myinterface> exampleMap;
	@Override
	@PostConstruct
	public void put() {
		exampleMap.put("in1", this);

	}

}
